package com.sugar.persistence.oa.hr;

import java.util.LinkedHashMap;
import java.util.List;

import com.sugar.base.query.PageModel;
import com.sugar.domain.oa.hr.Employee;

public interface IEmployee {

	public void saveEmpDao(Employee emp) throws RuntimeException ;
	
	public void deleteEmpDao(Employee emp) throws RuntimeException ;
	
	public void deleteSelectEmpDao(Object[] ids) throws RuntimeException ;
	
	public void updateEmpDao(Employee emp) throws RuntimeException ;
	
	public Employee loadEmpByIdDao(String id) throws RuntimeException ;
	
	public List<Employee> findEmpDao(String queryString,String whereStr,Object[] param,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	public PageModel<Employee> getScorllEmpDao(String queryString,String whereStr,Object[] param,int firstPage,int pageSize,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	public PageModel<Employee> getProcedureEmpDao() throws RuntimeException ;
	
}
